<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <div class="container">
      <span>按钮</span>
    </div>
  </body>
  <style>
    .container {
      width: 100px;
      height: 50px;
      background: #4e8cff;
      position: relative;
      top: 50%;
      left: 50%;
      line-height: 50px;
      text-align: center;
      color: white;
      border-radius: 10px 0 10px 0;
      margin-top: 100px;
      transform: skew(-20deg);
    }

    .container:before {
      content: '';
      width: 10px;
      height: 10px;
      position: absolute;
      bottom: 0;
      left: -10px;
      background: radial-gradient(circle at 0 0, white 10px, #4e8cff 10px);
    }

    .container:after {
      content: '';
      width: 10px;
      height: 10px;
      position: absolute;
      top: 0;
      right: -10px;
      background: radial-gradient(
        circle at 100% 100%,
        white 10px,
        #4e8cff 10px
      );
    }

    .container span {
      display: inline-block;
      transform: skew(20deg);
    }
  </style>
</html>
